//
//  CameraModel.h
//  TengineTwo
//
//  Created by StandardUser on 04/03/2012.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "CCLayer.h"

@interface CameraModel : NSObject

@property(readwrite, nonatomic) float viewportWidth;
@property(readwrite, nonatomic) float viewportHeight;

@property(readwrite, nonatomic) CGPoint position;
@property(readwrite, nonatomic) float x;
@property(readwrite, nonatomic) float y;
@property(readwrite, nonatomic) float zoom;

-(void)applyCameraTransformTo:(CCLayer*)layer;
-(id)initWithWidth:(float)w andHeight:(float)h;    

@end
